package sys;

import math.EulerAngles;
import math.Vector3f;

public class SysParam {
	public static final String GAME_NAME = "M5Craft";
	
	//Timer
	public static final int FPS_MAX = 100;
	public static final int TPS_MAX = 20;
	public static final int SKIP_TICKS = 1000 / TPS_MAX;
	public static final int SKIP_FRAME_MAX = 5;
	
	//OpenGL related
	public static final int GL_MAJOR_VER = 3;
	public static final int GL_MINOR_VER = 1;
	public static final boolean GL_FORWARD_COMPATIBLE = true;
	public static final boolean GL_PROFILE_CORE = true;
	
	//Render related
	public static final float FOV = 60f;
	public static final float ZNEAR = 0.1f;
	public static final float ZFAR = 300.0f;
	
	public static final float MOUSE_SPEED = 0.1f;
	public static final float MOVEMENT_SPEED = 0.7f;
	public static final float MOVEMENT_SPEED_FLYMODE = 12.0f;
	
	public static final float GRAVITY_SPEED = 9.8f;
	public static final float BLOCK_CHANGE_RATE = 0.3f;
	public static final float POSITION_CHANGE_RATE = 0.1f;
	
	public static final int SCREEN_WIDTH = 800;
	public static final int SCREEN_HEIGHT = 600;
	
	public static final Vector3f PlAYER_INIT_POSTION =new Vector3f(0,60f, 200f);
	public static final EulerAngles PlAYER_INIT_ORIENTATION = new EulerAngles(10f,0f,0);
		
	
	public static boolean flymode = false;
	public static boolean collisionDetection = true;
	public static boolean wireframe = false;
	public static boolean textures = true;
}
